package cn.tmpan.entity;

import java.math.BigDecimal;
import java.util.Date;

public class Member {
    private Integer id;

    private String username;

    private String nickname;

    private String password;

    private Long phone;

    private String linktokenAddr;

    private BigDecimal balance;

    private String loginip;

    private String sid;

    private Integer groupId;

    private String avatar;

    private Date updateTime;

    private Date createTime;

    private Integer status;

    public Member(Integer id, String username, String nickname, String password, Long phone, String linktokenAddr, BigDecimal balance, String loginip, String sid, Integer groupId, String avatar, Date updateTime, Date createTime, Integer status) {
        this.id = id;
        this.username = username;
        this.nickname = nickname;
        this.password = password;
        this.phone = phone;
        this.linktokenAddr = linktokenAddr;
        this.balance = balance;
        this.loginip = loginip;
        this.sid = sid;
        this.groupId = groupId;
        this.avatar = avatar;
        this.updateTime = updateTime;
        this.createTime = createTime;
        this.status = status;
    }

    public Member() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname == null ? null : nickname.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public Long getPhone() {
        return phone;
    }

    public void setPhone(Long phone) {
        this.phone = phone;
    }

    public String getLinktokenAddr() {
        return linktokenAddr;
    }

    public void setLinktokenAddr(String linktokenAddr) {
        this.linktokenAddr = linktokenAddr == null ? null : linktokenAddr.trim();
    }

    public BigDecimal getBalance() {
        return balance;
    }

    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }

    public String getLoginip() {
        return loginip;
    }

    public void setLoginip(String loginip) {
        this.loginip = loginip == null ? null : loginip.trim();
    }

    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid == null ? null : sid.trim();
    }

    public Integer getGroupId() {
        return groupId;
    }

    public void setGroupId(Integer groupId) {
        this.groupId = groupId;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar == null ? null : avatar.trim();
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}